package org.iubbo.proxy.model.po;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.*;
import org.iubbo.proxy.common.enums.RegisterCenterType;

import java.util.Date;

/**
 * @author flamingstar
 * @date 2021/2/4
 * @version V2.1
 */
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@TableName(value = "t_register_config")
public class RegisterConfigPO {

    @TableId(type = IdType.AUTO)
    private Integer id;

    //host地址
    private String host;

    private String ip;

    private Date createTime;

    private Date updateTime;

    //注册中心类型：1 zk,2 nacos
    private int type;

}
